package com.hd.pzhwlxt.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
@create: 2022-09-23 11:22
@author: 怀念天空
@Description: 
*/

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "office_material")
public class OfficeMaterial {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 名字
     */
    @TableField(value = "`name`")
    private String name;

    /**
     * 保管部门
     */
    @TableField(value = "keep_department")
    private Integer keepDepartment;

    /**
     * 数量
     */
    @TableField(value = "`count`")
    private Integer count;

    /**
     * 条形码
     */
    @TableField(value = "bar_code")
    private String barCode;

    /**
     * 单位
     */
    @TableField(value = "unit")
    private String unit;

    /**
     * 单价
     */
    @TableField(value = "price")
    private Double price;

    /**
     * 备注
     */
    @TableField(value = "`comment`")
    private String comment;
}